export const tabbar = (data = 'user', language = 'zh') => {
	let list = []
	switch (data) {
		case 'user':
			list = [{
					"iconPath": "home",
					"selectedIconPath": "home-fill",
					"pagePath": "/pages/index/index",
					"text": language == 'zh' ? "首页" : 'index'
				},
				{
					"iconPath": "account",
					"selectedIconPath": "account-fill",
					"pagePath": "/pages/user/user",
					"text": language == 'zh' ? "我的" : "me"
				}
			]
			break
		case 'admin':
			list = [{
				"iconPath": "home",
				"selectedIconPath": "home-fill",
				"pagePath": "/pages/index/index",
				"text": "首页"
			}]
	}
	return list
}
